Optimal. Leaf size=87 \[ -\frac {1}{5 x^5}+\frac {1}{6} \tan ^{-1}\left (\sqrt {3}-2 x\right )-\frac {1}{3} \tan ^{-1}(x)-\frac {1}{6} \tan ^{-1}\left (\sqrt {3}+2 x\right )+\frac {\log \left (1-\sqrt {3} x+x^2\right )}{4 \sqrt {3}}-\frac {\log \left (1+\sqrt {3} x+x^2\right )}{4 \sqrt {3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 87, normalized size of antiderivative = 1.00, number of steps
used = 11, number of rules used = 7, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.636, Rules used = {331, 215, 648,
632, 210, 642, 209} \begin {gather*} \frac {1}{6} \text {ArcTan}\left (\sqrt {3}-2 x\right )-\frac {\text {ArcTan}(x)}{3}-\frac {1}{6} \text {ArcTan}\left (2 x+\sqrt {3}\right )-\frac {1}{5 x^5}+\frac {\log \left (x^2-\sqrt {3} x+1\right )}{4 \sqrt {3}}-\frac {\log \left (x^2+\sqrt {3} x+1\right )}{4 \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 210
Rule 215
Rule 331
Rule 632
Rule 642
Rule 648
Rubi steps
\begin {align*} \int \frac {1}{x^6 \left (1+x^6\right )} \, dx &=-\frac {1}{5 x^5}-\int \frac {1}{1+x^6} \, dx\\ &=-\frac {1}{5 x^5}-\frac {1}{3} \int \frac {1-\frac {\sqrt {3} x}{2}}{1-\sqrt {3} x+x^2} \, dx-\frac {1}{3} \int \frac {1+\frac {\sqrt {3} x}{2}}{1+\sqrt {3} x+x^2} \, dx-\frac {1}{3} \int \frac {1}{1+x^2} \, dx\\ &=-\frac {1}{5 x^5}-\frac {1}{3} \tan ^{-1}(x)-\frac {1}{12} \int \frac {1}{1-\sqrt {3} x+x^2} \, dx-\frac {1}{12} \int \frac {1}{1+\sqrt {3} x+x^2} \, dx+\frac {\int \frac {-\sqrt {3}+2 x}{1-\sqrt {3} x+x^2} \, dx}{4 \sqrt {3}}-\frac {\int \frac {\sqrt {3}+2 x}{1+\sqrt {3} x+x^2} \, dx}{4 \sqrt {3}}\\ &=-\frac {1}{5 x^5}-\frac {1}{3} \tan ^{-1}(x)+\frac {\log \left (1-\sqrt {3} x+x^2\right )}{4 \sqrt {3}}-\frac {\log \left (1+\sqrt {3} x+x^2\right )}{4 \sqrt {3}}+\frac {1}{6} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,-\sqrt {3}+2 x\right )+\frac {1}{6} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,\sqrt {3}+2 x\right )\\ &=-\frac {1}{5 x^5}+\frac {1}{6} \tan ^{-1}\left (\sqrt {3}-2 x\right )-\frac {1}{3} \tan ^{-1}(x)-\frac {1}{6} \tan ^{-1}\left (\sqrt {3}+2 x\right )+\frac {\log \left (1-\sqrt {3} x+x^2\right )}{4 \sqrt {3}}-\frac {\log \left (1+\sqrt {3} x+x^2\right )}{4 \sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 79, normalized size = 0.91 \begin {gather*} \frac {1}{60} \left (-\frac {12}{x^5}+10 \tan ^{-1}\left (\sqrt {3}-2 x\right )-20 \tan ^{-1}(x)-10 \tan ^{-1}\left (\sqrt {3}+2 x\right )+5 \sqrt {3} \log \left (1-\sqrt {3} x+x^2\right )-5 \sqrt {3} \log \left (1+\sqrt {3} x+x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.19, size = 66, normalized size = 0.76
method | result | size |
risch | \(-\frac {1}{5 x^{5}}+\frac {\left (\munderset {\textit {\_R} =\RootOf \left (\textit {\_Z}^{4}-\textit {\_Z}^{2}+1\right )}{\sum }\textit {\_R} \ln \left (x -\textit {\_R} \right )\right )}{6}-\frac {\arctan \left (x \right )}{3}\) | \(35\) |
default | \(-\frac {1}{5 x^{5}}-\frac {\arctan \left (x \right )}{3}-\frac {\arctan \left (2 x -\sqrt {3}\right )}{6}-\frac {\arctan \left (2 x +\sqrt {3}\right )}{6}+\frac {\ln \left (1+x^{2}-\sqrt {3}\, x \right ) \sqrt {3}}{12}-\frac {\ln \left (1+x^{2}+\sqrt {3}\, x \right ) \sqrt {3}}{12}\) | \(66\) |
meijerg | \(-\frac {1}{5 x^{5}}-\frac {x \left (-\frac {\sqrt {3}\, \ln \left (1-\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}+\left (x^{6}\right )^{\frac {1}{3}}\right )}{2 \left (x^{6}\right )^{\frac {1}{6}}}+\frac {\arctan \left (\frac {\left (x^{6}\right )^{\frac {1}{6}}}{2-\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}}\right )}{\left (x^{6}\right )^{\frac {1}{6}}}+\frac {2 \arctan \left (\left (x^{6}\right )^{\frac {1}{6}}\right )}{\left (x^{6}\right )^{\frac {1}{6}}}+\frac {\sqrt {3}\, \ln \left (1+\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}+\left (x^{6}\right )^{\frac {1}{3}}\right )}{2 \left (x^{6}\right )^{\frac {1}{6}}}+\frac {\arctan \left (\frac {\left (x^{6}\right )^{\frac {1}{6}}}{2+\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}}\right )}{\left (x^{6}\right )^{\frac {1}{6}}}\right )}{6}\) | \(135\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 65, normalized size = 0.75 \begin {gather*} -\frac {1}{12} \, \sqrt {3} \log \left (x^{2} + \sqrt {3} x + 1\right ) + \frac {1}{12} \, \sqrt {3} \log \left (x^{2} - \sqrt {3} x + 1\right ) - \frac {1}{5 \, x^{5}} - \frac {1}{6} \, \arctan \left (2 \, x + \sqrt {3}\right ) - \frac {1}{6} \, \arctan \left (2 \, x - \sqrt {3}\right ) - \frac {1}{3} \, \arctan \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 115, normalized size = 1.32 \begin {gather*} -\frac {5 \, \sqrt {3} x^{5} \log \left (4 \, x^{2} + 4 \, \sqrt {3} x + 4\right ) - 5 \, \sqrt {3} x^{5} \log \left (4 \, x^{2} - 4 \, \sqrt {3} x + 4\right ) + 20 \, x^{5} \arctan \left (x\right ) - 20 \, x^{5} \arctan \left (-2 \, x + \sqrt {3} + 2 \, \sqrt {x^{2} - \sqrt {3} x + 1}\right ) - 20 \, x^{5} \arctan \left (-2 \, x - \sqrt {3} + 2 \, \sqrt {x^{2} + \sqrt {3} x + 1}\right ) + 12}{60 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.11, size = 75, normalized size = 0.86 \begin {gather*} \frac {\sqrt {3} \log {\left (x^{2} - \sqrt {3} x + 1 \right )}}{12} - \frac {\sqrt {3} \log {\left (x^{2} + \sqrt {3} x + 1 \right )}}{12} - \frac {\operatorname {atan}{\left (x \right )}}{3} - \frac {\operatorname {atan}{\left (2 x - \sqrt {3} \right )}}{6} - \frac {\operatorname {atan}{\left (2 x + \sqrt {3} \right )}}{6} - \frac {1}{5 x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.93, size = 65, normalized size = 0.75 \begin {gather*} -\frac {1}{12} \, \sqrt {3} \log \left (x^{2} + \sqrt {3} x + 1\right ) + \frac {1}{12} \, \sqrt {3} \log \left (x^{2} - \sqrt {3} x + 1\right ) - \frac {1}{5 \, x^{5}} - \frac {1}{6} \, \arctan \left (2 \, x + \sqrt {3}\right ) - \frac {1}{6} \, \arctan \left (2 \, x - \sqrt {3}\right ) - \frac {1}{3} \, \arctan \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 92, normalized size = 1.06 \begin {gather*} -\frac {\mathrm {atan}\left (x\right )}{3}-\mathrm {atan}\left (\frac {x}{-1+\sqrt {3}\,1{}\mathrm {i}}+\frac {\sqrt {3}\,x\,1{}\mathrm {i}}{-1+\sqrt {3}\,1{}\mathrm {i}}\right )\,\left (\frac {1}{6}+\frac {\sqrt {3}\,1{}\mathrm {i}}{6}\right )-\mathrm {atan}\left (\frac {x}{1+\sqrt {3}\,1{}\mathrm {i}}-\frac {\sqrt {3}\,x\,1{}\mathrm {i}}{1+\sqrt {3}\,1{}\mathrm {i}}\right )\,\left (-\frac {1}{6}+\frac {\sqrt {3}\,1{}\mathrm {i}}{6}\right )-\frac {1}{5\,x^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________